""""""
"""写入模式
w:
a:追加写
"""
# file = open(r"D:\temp\caidan.txt", encoding="utf-8", mode="a")
# file.write("\n你好吗?")
# file.close()

file = open(r"D:\temp\caidan.txt", encoding="utf-8", mode="w")
file.write("你好吗?")
file.close()

